home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / BBS / SECOND_SIGHT / Waldo3.SEA / WaldoStuff / WaldoHelp / card_4188.txt < prev    next >
Text File  |  1992-04-20  |  6KB  |  228 lines

  1. -- card: 4188 from stack: in
  2. -- bmap block id: 4468
  3. -- flags: 0000
  4. -- background id: 2659
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=5 top=318 right=340 bottom=138
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Return to Waldo
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   set userlevel to 3
  23.   checkSize
  24.   visual effect iris close
  25.   pop card
  26. end mouseUp
  27.  
  28.  
  29.  
  30.  
  31. -- part 2 (button)
  32. -- low flags: 00
  33. -- high flags: 0002
  34. -- rect: left=139 top=318 right=339 bottom=166
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 24317 / 24317
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: Return
  43. ----- HyperTalk script -----
  44. on mouseUp
  45.   visual effect stretch from top
  46.   go to cd 1
  47.   put empty into bg fld 1
  48. end mouseUp
  49.  
  50.  
  51. -- part 3 (button)
  52. -- low flags: 00
  53. -- high flags: 0000
  54. -- rect: left=117 top=230 right=263 bottom=157
  55. -- title width / last selected line: 0
  56. -- icon id / first selected line: 0 / 0
  57. -- text alignment: 1
  58. -- font id: 0
  59. -- text size: 12
  60. -- style flags: 0
  61. -- line height: 16
  62. -- part name: Picture Button
  63. ----- HyperTalk script -----
  64. on mouseUp
  65.   if the optionKey is down and the ShiftKey is down then
  66.     global theButton
  67.     put the short name of me into theButton
  68.     StartEditing
  69.   end if
  70. end mouseUp
  71. on mouseWithin
  72.   put the script of me into temp
  73.   get the number of lines in temp
  74.   put line 16 to it of temp into  bg fld 1
  75. end mouseWithin
  76. on mouseLeave
  77.   put empty into bg fld 1
  78. end mouseLeave
  79. The XStack Button will display a eXternal Stack when clicked on.
  80. An XStack is a stack that has a general script in it that will redisplay the page in Waldo where you clicked the XStack Button.
  81. An XStack may be a single card or a series of cards. The primary purpose is to display graphics, play sound, animation, text and music. The stack must contain a script for returning to the page from which you left Waldo.
  82.  
  83.  
  84.  
  85. -- part 4 (button)
  86. -- low flags: 00
  87. -- high flags: 0000
  88. -- rect: left=58 top=230 right=263 bottom=98
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 1
  92. -- font id: 0
  93. -- text size: 12
  94. -- style flags: 0
  95. -- line height: 16
  96. -- part name: Picture List
  97. ----- HyperTalk script -----
  98. on mouseUp
  99.   if the optionKey is down and the ShiftKey is down then
  100.     global theButton
  101.     put the short name of me into theButton
  102.     StartEditing
  103.   end if
  104. end mouseUp
  105. on mouseWithin
  106.   put the script of me into temp
  107.   get the number of lines in temp
  108.   put line 16 to it of temp into  bg fld 1
  109. end mouseWithin
  110. on mouseLeave
  111.   put empty into bg fld 1
  112. end mouseLeave
  113. The XStack List Button will display a list of all pages that have XStack Buttons and the particular XStack Button on that Page.  You may go to the selected Page by holding down the Option key. The XStack Button List may be displayed on a Page with a XStack Button.
  114. The XStack Button will appear "Grayed" if there are no XStacks for the currently loaded document.
  115.  
  116.  
  117.  
  118. -- part 5 (button)
  119. -- low flags: 00
  120. -- high flags: 0000
  121. -- rect: left=6 top=230 right=263 bottom=46
  122. -- title width / last selected line: 0
  123. -- icon id / first selected line: 0 / 0
  124. -- text alignment: 1
  125. -- font id: 0
  126. -- text size: 12
  127. -- style flags: 0
  128. -- line height: 16
  129. -- part name: None
  130. ----- HyperTalk script -----
  131. on mouseUp
  132.   if the optionKey is down and the ShiftKey is down then
  133.     global theButton
  134.     put the short name of me into theButton
  135.     StartEditing
  136.   end if
  137. end mouseUp
  138. on mouseWithin
  139.   put the script of me into temp
  140.   get the number of lines in temp
  141.   put line 16 to it of temp into  bg fld 1
  142. end mouseWithin
  143. on mouseLeave
  144.   put empty into bg fld 1
  145. end mouseLeave
  146. The XStack Button List Button is "Grayed" out if there are no XStack Buttons for the currently loaded document.
  147.  
  148.  
  149.  
  150. -- part 6 (button)
  151. -- low flags: 00
  152. -- high flags: 0000
  153. -- rect: left=394 top=225 right=263 bottom=434
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 0 / 0
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: LSEN
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   if the optionKey is down and the ShiftKey is down then
  165.     global theButton
  166.     put the short name of me into theButton
  167.     StartEditing
  168.   end if
  169. end mouseUp
  170. on mouseWithin
  171.   put the script of me into temp
  172.   get the number of lines in temp
  173.   put line 16 to it of temp into  bg fld 1
  174. end mouseWithin
  175. on mouseLeave
  176.   put empty into bg fld 1
  177. end mouseLeave
  178. The Utilities Buttons
  179. (File List, Title List,  Button List and HyperButton List) provide the means of maintaining and saving Lists and Queues to disk. You must hold down the mouse button and wait for a List to pop up to make a selection. Lists and Queues may be erased, renamed, saved to disk and loaded from disk.
  180.  
  181.  
  182.  
  183.  
  184. -- part 7 (button)
  185. -- low flags: 00
  186. -- high flags: 0000
  187. -- rect: left=434 top=225 right=263 bottom=511
  188. -- title width / last selected line: 0
  189. -- icon id / first selected line: 0 / 0
  190. -- text alignment: 1
  191. -- font id: 0
  192. -- text size: 12
  193. -- style flags: 0
  194. -- line height: 16
  195. -- part name: Down Mouse
  196. ----- HyperTalk script -----
  197. on mouseUp
  198.   if the optionKey is down and the ShiftKey is down then
  199.     global theButton
  200.     put the short name of me into theButton
  201.     StartEditing
  202.   end if
  203. end mouseUp
  204. on mouseWithin
  205.   put the script of me into temp
  206.   get the number of lines in temp
  207.   put line 16 to it of temp into  bg fld 1
  208. end mouseWithin
  209. on mouseLeave
  210.   put empty into bg fld 1
  211. end mouseLeave
  212. To use the List Utilities and the Sound Level Button you must hold down the mouse button on them till a pop up list is displayed and a item is selected in the list. On on all other Buttons you simply click .
  213.  
  214.  
  215.  
  216. -- part 8 (button)
  217. -- low flags: 80
  218. -- high flags: 0000
  219. -- rect: left=0 top=187 right=342 bottom=512
  220. -- title width / last selected line: 0
  221. -- icon id / first selected line: 0 / 0
  222. -- text alignment: 1
  223. -- font id: 0
  224. -- text size: 12
  225. -- style flags: 0
  226. -- line height: 16
  227. -- part name: Hide Buttons
  228.